{include file='admin/header.html'}
<span class="td4"> 

    <div class="botline"></div>
    <table class="tdzayavki">
        <thead>
            <tr> 
                <td class="tb1">
                    Время
                </td>
              
                <td class="tb5">Событие</td>
            </tr>
        </thead>

       {foreach from=$logs item=d}
        <tr id="tr_{$d->getId()}">
            <td class="nocontainer fs12" id="name_{$d->getId()}">
                 {$d->time|date_format:"%d %B %Y (%H:%M:%S)"}
            </td>
          

            <td style="text-align: left;">
                {$d->note}
            </td>

        </tr>
        {/foreach} 
    </table>
    <div class="botline"></div>
   {if $pages != 1}
   <div class="pages">
            {section loop=$pages name=page}
                {assign var=p value=$smarty.section.page.index_next}
                {if $p == $page}
                    <span>{$p}</span>
                {else}
                      {if $p==1}
                    <a href="{geturl action='logs'}">{$p}</a>
                    {else}
                     <a href="{geturl action='logs'}?p={$p}">{$p}</a>
                    {/if}
                 
                {/if}
            {/section}
        </div>
   {/if}
</span> 
{include file='admin/footer.html' menu='logs'}